﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0014)about:internet -->
<html>
    <head>
        <meta content="Innovasys Document! X (http://www.innovasys.com)" name=GENERATOR>
        <!--DXMETADATA start type="MetaCharset" --><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><!--DXMETADATA end-->
        <!--DXMETADATA start type="PageItemTitle" format="<title>DockingPaneType Enumeration</title>" --><title>DockingPaneType Enumeration</title><!--DXMETADATA end-->
        <link href="stylesheets/axstylesheet.css" type=text/css rel=stylesheet>
        <script src="script/ax.js" type=text/javascript>
    </script>

    


<style>
html,div { margin: 0; padding: 0;}

body {
	padding: 0px;
	margin: 0px;
	overflow: auto;
	height: 100%;
}

#winchm_template_button{
	float: right;
	width: 93px;
	top: 7px;
	position: relative;
	text-align: right;
	right: 5px;
	height: auto;
}

#winchm_template_top{
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #9B9B9B;
	background-color: #B1CEFE;
}

#winchm_template_navigation{
	margin: 0px;
	padding-top: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-right: 0px;
	font-size: 8.5pt;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #585858;
}

#winchm_template_title{
	margin: 0px;
	padding-top: 4px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 0px;
	font-size: 18px; 
	font-family: Verdana, Geneva, sans-serif;
	color: #363636;
}

#winchm_template_content{
	margin-top: 20px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	width: auto  !important;
	width: 100%;
}

#winchm_template_footer{
	border-width: 1px;
	border-color: #B1CEFE;
	border-top-style: solid;
	margin-top: 15px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-top: 7px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	font-family: arial, helvetica, sans-serif;
	font-size: 8.5pt;
	color: #696969;
	width: auto;
	text-align: left;
}


#winchm_template_container{
	margin: 0px;
	padding: 0px;
	position: static;
	padding-bottom: 3px;
	overflow: auto;
	background-color: #FFFFFF;
}


@media print
{
#winchm_template_container{
	position: static;	
	margin: 0px;
	padding: 5px;
	
	width: auto;
	height: auto;
	overflow: auto;
}
#winchm_template_button{
visibility:hidden;
}
}

#winchm_template_navigation A:link	{text-decoration: none; color:#004080}
#winchm_template_navigation A:visited  {text-decoration: none; color: #004080}
#winchm_template_navigation A:active {text-decoration: none; color: #004080 }
#winchm_template_navigation A:hover {text-decoration: none;color: #0080FF}

A:link	{text-decoration: underline; color:#0033CC}
A:visited  {text-decoration: underline; color: #0033CC}
A:active {text-decoration: underline; color: #0033CC }
A:hover {text-decoration: underline;color: #FF0000;}
</style>
<script type="text/javascript">
function isMobile(){
Agent = window.navigator.userAgent;
if (Agent.indexOf("iPhone")>=1 || Agent.indexOf("iPad")>=1 || Agent.indexOf("iPod")>=1 || Agent.indexOf("Android")>=1){
return true;
}else{
return false;	
}

}
function d_onresize(){
if (window.navigator.userAgent.indexOf("MSIE")>=1){
document.getElementById('winchm_template_container').style.pixelWidth = document.body.offsetWidth - 3;
document.getElementById('winchm_template_container').style.pixelHeight = document.body.offsetHeight - document.getElementById('winchm_template_top').offsetHeight - 4;
}
document.getElementById('winchm_template_container').style.top = document.getElementById('winchm_template_top').offsetHeight + 'px';
}

function d_onbeforeprint(){
document.getElementById('winchm_template_container').style.width = 'auto';
document.getElementById('winchm_template_container').style.height = 'auto';
}

function d_onafterprint(){
d_onresize();
}

if(!isMobile()){

window.onload = d_onresize;
window.onresize = d_onresize;
window.onbeforeprint = d_onbeforeprint;
window.onafterprint = d_onafterprint;

document.write("<style>\n");
document.write("body {overflow: hidden;}\n");
document.write("#winchm_template_container {position: absolute;overflow: auto;top : 0px;right: 0px;bottom: 0px;left: 0px;}\n");
document.write("</style>\n");
}

</script>
</head>
    <body><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(8354);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm?page=XtremeDockingPane~Enumerations~DockingPaneType_EN.html";
}
originalOnload = window.onload;
if(originalOnload==null){
window.onload = function(){parent.contentLoaded = true;};
}else{
window.onload = function(){originalOnload();parent.contentLoaded = true;};
}
</script> 


<div id="winchm_template_top">
	<div id="winchm_template_button"><A href="XtremeDockingPane~Enumerations~DockingPaneTabButtonFlags_EN.html" title="Previous topic"><img id="winchm_template_prev" alt="Previous topic" src="template2/btn_prev_n.gif" border="0"></a><A href="XtremeDockingPane~Enumerations~PaneOptions_EN.html" title="Next topic"><img id="winchm_template_next" alt="Next topic" src="template2/btn_next_n.gif" border="0"></a></div>
	<div id="winchm_template_navigation">Help &gt; 
<A href="welcome_screen.htm">Codejock ActiveX Controls v15.3</A> &gt; <A href="XtremeDockingPane_P.html">Xtreme Docking Pane</A> &gt; Enumerations &gt; </div>
	<div id="winchm_template_title">DockingPaneType Enumeration</div>
</div>
<div id="winchm_template_container">
	<div id="winchm_template_content"><div class=popupbubble id=dxseealsomenu><p id=dxseealsocontent><a href="#Bookmark7723">HideClient Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7841">PaneContainer Object</a>
&nbsp;|&nbsp;<a href="#Bookmark7851">PaneContainer.Type Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7834">Pane.Type Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7835">PaneActionContainer Object</a>
&nbsp;|&nbsp;<a href="#Bookmark7616">Action Event</a>
</p><!--DXMETADATA end --> 
        </div>
        <div id=pagetop>
            <div id=projectnamebanner>
                <table class=projectnametable cellspacing=0>
                    <tbody>
                        <tr>
                            <!--DXMETADATA start type="Literal" condition="childitems:itemtype=seealso" value="<td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td>"--><td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td><!--DXMETADATA end-->
                            <td>
                                <!--DXMETADATA start type="Phrase" Name="Product_Header" -->Xtreme Docking Pane ActiveX Control v15.3<!--DXMETADATA end --> 
                            </td>
                            <td align=right>
                                <!--DXMETADATA start type="Variable" name="FeedbackLink" format="" --><!--DXMETADATA end --> 
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id=pagetitlebanner>
                <h1 class=dxh1>
                <!--DXMETADATA start type="PageItemTitle" -->DockingPaneType Enumeration<!--DXMETADATA end --></h1>
            </div>
        </div>
        <div id=pagebody valign="bottom">
            <!--DXMETADATA start type="IsNew" format="<script>document.all.pagebody.className = 'newTopic'</script>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="Description" source="Item" format="<h4 class=dxh4>$$Description$$</h4><p>%%description%%</p>" --><h4 class=dxh4>Description</h4><p>Specifies the type of a docking pane container.</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="ENUM_MEMBER_LIST" namespace="enumeration member" source="Item" filter="" format="<h4 class=dxh4>$$Members$$</h4>%%filtereditemlist%%" --><h4 class=dxh4>Members</h4><TABLE CLASS="FilteredItemListTable" CellSpacing="0"><TR VALIGN="top"><TH width="30%">Member</TH><TH width="70%">Description</TH></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeDockingPane</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is a docking pane.&nbsp; This is the actual pane which contains user windows\controls.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeTabbedContainer</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is a tabbed container.&nbsp; This is a container that groups panes together and displays a tab strip to switch between panes.
<P>&nbsp;</P>
<P>A docking pane will ALWAYS be contained inside a tabbed container, even single panes, which can optionally have the single tab displayed.</P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeSplitterContainer</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is a splitter container.&nbsp; This is a container that groups other containers together using splitters to separate them.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeMiniWnd</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is a mini window container.&nbsp; This is a container that contains floating panes.&nbsp; Inside this container there can be tabbed and splitter containers.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeClient</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is the&nbsp;client area container.&nbsp; This is a virtual container used for the client space.&nbsp; There will only be one client container.&nbsp; The client container can be hidden using the <A href="#Bookmark7723">HideClient</A>&nbsp;property.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeAutoHidePanel</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is&nbsp;a auto hide panel container.&nbsp; This is a container that contains the tab buttons of panes that have been un-pinned\auto-hidden.&nbsp; There can be an auto hide panel on the top, left, right and bottom of an application. 
<P>&nbsp;</P>
<P>Using this container you can determine how many panes have been auto hidden to a particular side of an application.</P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>PaneTypeSidePanel</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Object is the side panel. <STRONG>&nbsp;</STRONG>SideDocking&nbsp;enables or disabled "Visio" style client edge docking.&nbsp; Side docking can only occur to the inside edges of the client area.&nbsp; When SideDocking&nbsp;is enabled any pane that is dragged to&nbsp;an inside edge of the client area will attempt to "snap" to that inside&nbsp;edge&nbsp;of the client.&nbsp; The pane will "snap" to the inside edge of the client and will leave a margin equal to that specified by <A href="#Bookmark7709">SetSideDockingMargin</A>.</TD></TR>
</TABLE><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 class=dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --><h4 class=dxh4>Remarks</h4><p><P>Both the <A href="#Bookmark7851">PaneContainer.Type</A>&nbsp;and&nbsp;<A href="#Bookmark7834">Pane.Type</A>&nbsp;properties use the flags from the <STRONG>DockingPaneType</STRONG> enumeration to specify which type of container they are.</P>
<P>&nbsp;</P>
<P>The <A href="#Bookmark7841">PaneContainer</A> class helps&nbsp;you&nbsp;can understand the layout of the panes.&nbsp; The main purpose of the&nbsp;<A href="#Bookmark7841">PaneContainer</A> class is to provide information about&nbsp;how panes are&nbsp;grouped, where they are&nbsp;located, if there are any floating panes, how many floating panes, how many auto-hidden panes, which side panes are auto-hidden, where panes are docked, etc.</P>
<P>&nbsp;</P>
<P>In the picture you can see&nbsp;5 pane objects.&nbsp; Containers&nbsp;were used to create this layout.&nbsp; Panes B, D and E are contained in a <STRONG>PaneTypeTabbedContainer</STRONG>.&nbsp; Pane C is contained in another <STRONG>PaneTypeTabbedContainer</STRONG> and both splitter tabbed containers are contained in a <STRONG>PaneTypeSplitterContainer</STRONG>.&nbsp; The important thing to remember is that panes are always contained inside a <STRONG>PaneTypeTabbedContainer</STRONG>.</P>
<P>&nbsp;</P>
<P><IMG src="Pictures/containers.png" border=0></P>
<P>&nbsp;</P>
<P>Using the <A href="#Bookmark7835">PaneActionContainer</A>&nbsp;class and the <A href="#Bookmark7616">Action</A>&nbsp;event you can determine additional information such as where a pane will&nbsp;be docked&nbsp;and where it was actually docked.</P></p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##EXAMPLEINTRO" format="<h4 class=dxh4>$$Example$$</h4><p>%%comment%%</p>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" filter="type=inline" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --><h4 class=dxh4>Example</h4><DIV Class=LanguageSpecific Name=Example_VB><p><SPAN class="lang">[Pane Containers Sample (Visual Basic)]</SPAN>&nbsp;This sample illustrates how to use pane containers to restrict where  panes can be docked in an application.</p><DIV Class=LanguageSpecific Name=Code_VB><TABLE Class="CodeContainerTable" CellPadding="0" CellSpacing="0" Border="0"><TR><TD NOWRAP><CODE Class="VB"><font class='keyword'>Private</font> <font class='keyword'>Sub</font> DockingPaneManager_Action(<font class='keyword'>ByVal</font> Action <font class='keyword'>As</font> XtremeDockingPane.DockingPaneAction, <font class='keyword'>ByVal</font> Pane <font class='keyword'>As</font> XtremeDockingPane.IPane, <font class='keyword'>ByVal</font> Container <font class='keyword'>As</font> XtremeDockingPane.IPaneActionContainer, Cancel <font class='keyword'>As</font> <font class='keyword'>Boolean</font>)<BR/>
<font class='keyword'>On</font> <font class='keyword'>Error</font> <font class='keyword'>Resume</font> <font class='keyword'>Next</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>Dim</font> Actions <font class='keyword'>As</font> <font class='keyword'>Variant</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;Actions = <font class='keyword'>Array</font>(<font class='string'>&quot;PaneActionFloating&quot;</font>, <font class='string'>&quot;PaneActionFloated&quot;</font>, _<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='string'>&quot;PaneActionClosing&quot;</font>, <font class='string'>&quot;PaneActionClosed&quot;</font>, <font class='string'>&quot;PaneActionDocking&quot;</font>, <font class='string'>&quot;PaneActionDocked&quot;</font>, <font class='string'>&quot;PaneActionAttaching&quot;</font>, <font class='string'>&quot;PaneActionAttached&quot;</font>, <font class='string'>&quot;PaneActionPinning&quot;</font>, <font class='string'>&quot;PaneActionPinned&quot;</font>, _<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='string'>&quot;PaneActionCollapsing&quot;</font>, <font class='string'>&quot;PaneActionCollapsed&quot;</font>, <font class='string'>&quot;PaneActionExpanding&quot;</font>, <font class='string'>&quot;PaneActionExpanded&quot;</font>, <font class='string'>&quot;PaneActionActivated&quot;</font>, _<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='string'>&quot;PaneActionDeactivated&quot;</font>, <font class='string'>&quot;PaneActionDetaching&quot;</font>, <font class='string'>&quot;PaneActionDragging&quot;</font>, <font class='string'>&quot;PaneActionUnpinning&quot;</font>, <font class='string'>&quot;PaneActionUnpinned&quot;</font>)<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;Debug.<font class='keyword'>Print</font> <font class='string'>&quot;Action = &quot;</font>; Actions(Action + <font class='keyword'>LBound</font>(Actions)); <font class='string'>&quot;; Title = &quot;</font>; Pane.Title<BR/>
<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>' Container Parameter valid only for PaneActionDocking and PaneActionAttaching</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>' Container.Direction = Where a pane would be docked if the user were to drop the pane</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>' for the PaneActionDocking action.</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>' Container.Direction = Where a was actually docked for the PaneActionDocked action.</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>If</font> (Action = PaneActionDocking) <font class='keyword'>Then</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='comment'>'Do not allow panes to be docked to the top or bottom of the applicaiton</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>If</font> (Container.Container.<font class='keyword'>Type</font> &lt;&gt; PaneTypeTabbedContainer) <font class='keyword'>And</font> _<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Container.Direction = DockTopOf <font class='keyword'>Or</font> Container.Direction = DockBottomOf) <font class='keyword'>Then</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cancel = <font class='keyword'>True</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>If</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>If</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>If</font> (Action = PaneActionAttaching) <font class='keyword'>Then</font><BR/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Debug.<font class='keyword'>Print</font> Container.Container.Count<BR/>
&nbsp;&nbsp;&nbsp;&nbsp;<font class='keyword'>End</font> <font class='keyword'>If</font><BR/>
<BR/>
<font class='keyword'>End</font> <font class='keyword'>Sub</font></CODE></TD></TR></TABLE></DIV></DIV>
<!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="seealso" source="Item" filter="" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$See_Also$$</h4><p id=dxseealsocontent>%%filtereditemlist%%</p>" --><h4 class=dxh4>See Also</h4><p id=dxseealsocontent><a href="#Bookmark7723">HideClient Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7841">PaneContainer Object</a>
&nbsp;|&nbsp;<a href="#Bookmark7851">PaneContainer.Type Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7834">Pane.Type Property</a>
&nbsp;|&nbsp;<a href="#Bookmark7835">PaneActionContainer Object</a>
&nbsp;|&nbsp;<a href="#Bookmark7616">Action Event</a>
</p><!--DXMETADATA end --><!--DXMETADATA start type="Variable" name="CopyrightNotice" format="><!--DXMETADATA end --></div></div>	
	<div id="winchm_template_footer">Copyright &copy; 2018. All rights 
reserved. (To change the copyright info, just edit it in template.)</div>
</div>

</body>
</html>

